<div class="infoBoxWrapper box4 last">
    <div class="box_wrapper">
        <div class="box_wrapper_title22">
            <div class="box_wrapper_title">
                <span class="title-icon"></span>

                <h1>SẢN PHẨM</h1>
            </div>
        </div>
        <div class="infoBoxContents">
            <?php
            if (!empty($items)) {
                foreach ($items as $key => $item) {
                    if ($key < 2) {
                        ?>
                        <ul class="specials <?php $key == 0 ? 'first' : ''; ?>"
                            id="specials-<?php $key == 0 ? '0' : '1'; ?>">
                            <li style="width:px;" class="wrapper_prods hover  first last">
                                <div class="border_prods">
                                    <div class="pic_padd wrapper_pic_div" style="width:70px;height:70px;">
                                        <a class="prods_pic_bg"
                                           href="<?php echo $this->createUrl('/site/detail', array('id' => $item->id)) ?>"
                                           style="width:70px;height:70px;">
                                            <img src="<?php echo Yii::app()->request->baseUrl . $item->avatar ?>"
                                                 alt="<?php echo Yii::app()->request->baseUrl . $item->name ?>"
                                                 title="The North Face 'Alana' Boot" width="70"
                                                 height="70" style="width:70px;height:70px;margin:0px 0px 0px 0px;">
                                        </a>
                                    </div>
                                    <div class="prods_padd">
                                        <div class="name name_padd equal-height-box_specials" style="min-height: 20px;">
                                            <div>
                                    <span><a
                                            href="<?php echo $this->createUrl('/site/detail', array('id' => $item->id)) ?>">
                                            <?php echo CHtml::encode(StringHelper::helper()->cutText($item['name'], 56));?>
                                        </a>
                                    </span>
                                            </div>
                                        </div>
                                        <div class="price price_padd top"><b>Price:&nbsp;&nbsp;</b><span
                                                class="productSpecialPrice"><?php echo number_format($item['price'],0,",","."); ?> đ</span>
                                        </div>
                                    </div>
                                </div>
                            </li>
                        </ul>
                    <?php } ?>
                    <?php if ($key == 2) {
                        ?>
                        <ul class="specials last" id="specials-2">
                            <li style="width:px;" class="wrapper_prods hover  first last">
                                <div class="border_prods">
                                    <div class="pic_padd wrapper_pic_div" style="width:70px;height:70px;"><a
                                            class="prods_pic_bg"
                                            href="<?php echo $this->createUrl('/site/detail', array('id' => $item->id)) ?>"
                                            style="width:70px;height:70px;"><img
                                                src="<?php echo Yii::app()->request->baseUrl . $item->avatar ?>"
                                                alt="<?php echo Yii::app()->request->baseUrl . $item->name ?>"
                                                title="SoftWalk 'Rio Dell' Ankle Boot"
                                                width="70" height="70"
                                                style="width:70px;height:70px;margin:0px 0px 0px 0px;"></a>
                                    </div>
                                    <div class="prods_padd">
                                        <div class="name name_padd equal-height-box_specials" style="min-height: 20px;">
                                            <div>
                                    <span><a
                                            href="<?php echo $this->createUrl('/site/detail', array('id' => $item->id)) ?>">
                                            <?php echo CHtml::encode(StringHelper::helper()->cutText($item['name'], 56));?>
                                        </a>
                                    </span>
                                            </div>
                                        </div>
                                        <div class="price price_padd top"><b>Price:&nbsp;&nbsp;</b><span
                                                class="productSpecialPrice"><?php echo number_format($item['price'],0,",","."); ?> đ</span>
                                        </div>
                                    </div>
                                </div>
                            </li>
                        </ul>
                    <?php } ?>
                <?php
                }
            }
            ?>
        </div>
    </div>
</div>